package org.seven.jrdp.biz.core.mapper;

import java.util.List;

import org.seven.jrdp.commons.shiro.model.Organ;
import org.seven.jrdp.commons.shiro.model.Resource;
import org.seven.jrdp.commons.shiro.model.Role;
import org.seven.jrdp.commons.shiro.model.User;

public interface MgtCoreMapper {
	User getUserByAccount(String account);

	Organ getOrganByUserId(String userId);

	List<Role> findRoleByUserId(String userId);

	List<Resource> findResourceByUserId(String userId);

	List<Resource> findResource();
}